package com.bdqn.service.impl;

import com.bdqn.dao.MainmenuDao;
import com.bdqn.pojo.Mainmenu;
import com.bdqn.service.MainmenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class MainmenuServiceImpl implements MainmenuService {

    @Resource
    private MainmenuDao mainmenuDao;

    @Override
    public List<Mainmenu> menuList() {
        return mainmenuDao.menuList();
    }
}
